﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Globalization;
using System.Linq;
using System.Windows;
using System.Windows.Markup;

namespace LogWare {
	/// <summary>
	/// Interaction logic for App.xaml
	/// </summary>
	public partial class App : Application {
		 void App_Startup(object sender, StartupEventArgs e) {
			var culture = CultureInfo.CurrentCulture;
			var lang = XmlLanguage.GetLanguage(culture.IetfLanguageTag);
			FrameworkElement.LanguageProperty.OverrideMetadata(typeof(FrameworkElement), new FrameworkPropertyMetadata(lang));			 
		 }
	}
}
